package nsoft.swing.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target( { ElementType.TYPE, ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface AButton {
	String label();

	String name() default "null";

	String action();

	String controller();
	
	String parent() default "";

	// TODO:Needs dynamic label implementation.
	// TODO reference doc for properties to be provided.
	String[] properties() default {};
	/**
	 * Properties are for laying out his component, can be prop:val or val,val.,...
	 * @return
	 */
	String[] layout() default {};

}
